<template>
  <v-card title="更换配色" class="mb-50">
    <vcu-chart-pie :data="chartData" :color="color" />
  </v-card>
</template>

<script>
export default {
  name: 'color-match',
  data() {
    return {
      chartData: {
        dimensions: {
          name: 'Week',
          data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'],
        },
        measures: [
          {
            name: 'pv',
            data: [256, 767, 1356, 2087, 803, 582, 432],
          },
          {
            name: 'uv',
            data: [287, 707, 1756, 1822, 987, 432, 322],
          },
        ],
      },
      color: ['#207722', '#68b133', '#a9de83', '#f63629', '#f66258', '#ffc0af'],
    }
  },
}
</script>